<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" name="viewport">
    <meta content="yes" name="apple-mobile-web-app-capable">
    <meta content="black" name="apple-mobile-web-app-status-bar-style">
    <meta content="telephone=no" name="format-detection">
    <meta content="email=no" name="format-detection">    
    <title>伊甸园停车场自助缴费服务</title>
    <link rel="stylesheet" href="../css/weui.css"/>
    <link rel="stylesheet" href="../css/example.css"/>
    <link rel="stylesheet" href="../css/monthly_card_renewal_fee.css">
    <style>
        .successimg {
            width: 30px;
            vertical-align: middle;
        }
    </style>
</head>
<body>
    <div class="page ">
        <!-- 车牌信息 -->
        <div class="weui-cells cell_text" style="margin-top:0">
            <div id="mycar" class="weui-cell flex-box cell_text">
                <img src="../images/car@2x.png" class="mycarimg">
                <span id="car_num" class="mycar">苏A·12345</span>
                <span class="monthly-card-box">月卡车</span>
            </div>
        </div>
        <div class="weui-cells cell_text">
            <div class="weui-cell " style="margin-top:10px;display: flex;
            flex-direction: column;margin-bottom:30px;">
                <div class="weui-flex__item">
                    <img src="../images/success@2x.png" class="successimg">                
                    <span style="margin-left:10px;font-size:20px;font-weight:500;vertical-align: middle;">绑定成功</span>
                </div>
                <div class="weui-flex__item" style="color:#CDCDCD;margin-top: 20px;font-weight: 300;font-size: 14px;">
                        <span>绑定成功后，将在3s内自动跳转</span>
                    </div>
            </div>
        </div> 
    </div>
    <script src="../js/jquery-1.11.3.min.js"></script>
    <script type="text/javascript" src="https://res.wx.qq.com/open/js/jweixin-1.3.2.js"></script>
    <script src="../js/weui.min.js"></script>
    <script>
        $(function(){
            var car = window.location.href;
            var cardata = car.split("="); //截取 url中的“=”,获得“=”后面的参数  
            var car_num = decodeURI(cardata[1]); //decodeURI解码  
            console.log(car_num);
            $('#car_num').html(car_num);

            setTimeout(function(){//两秒后跳转
                window.location.href = "mainpage_month_car.html?car_num="+car_num;//PC网页式跳转
                // $.mobile.changePage("index.php"); //手机网页式跳转
            },3000);
        })
    </script>
</body>
</html>